package cn.s1995.sloth.bizs.oo.req;

import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import lombok.Data;

@Data
@Schema(description = "评价")
public class ProdEvaluateREQ {

//	/**
//	* ID
//	*/
//    @Schema(description = "ID")
//    private Long id;

//	/**
//	* 订单id
//	*/
//    @Schema(description = "订单id")
//    private Long orderId;

	/**
	* 订单项id
	*/
    @Schema(description = "订单项id")
    private Long orderItemId;

	/**
	* 内容
	*/
    @Schema(description = "内容")
    private String content;

	/**
	* 图片
	*/
    @Schema(description = "图片")
    private List<String> pics;

	/**
	* 视频
	*/
    @Schema(description = "视频")
    private String video;

	/**
	* 综合得分：0-5分
	*/
    @Min(1)
    @Max(5)
    @Schema(description = "综合得分：0-5分")
    private Integer score;

	/**
	* 是否匿名
	*/
    @Schema(description = "是否匿名")
    private boolean isAnonymous;
}
